//
//  Player.h
//  SWEngiOS
//
//  Created by Eric Augustine on 3/26/12.
//  Copyright 2012 UW - Parkside. All rights reserved.
//

#import <Foundation/Foundation.h>

@class Game;


@interface Player : NSObject {
	NSString* playerName;
	NSString* currAnswer;
	NSInteger permChips;
	NSInteger gameChips;
	NSInteger currScore;
	NSInteger currBet;
	NSInteger chipsBet;
	float betRatio;
	Game* game;
}

@property (retain) NSString* playerName;
@property (retain) NSString* currAnswer;
@property NSInteger permChips;
@property NSInteger gameChips;
@property NSInteger currScore;
@property NSInteger currBet;
@property NSInteger chipsBet;
@property float betRatio;
@property (retain) Game* game;

- (id) initWithName: (NSString*)n;
- (id) initWithName: (NSString*)n andPermChips: (NSInteger)pChips;
- (void) placeBet: (NSInteger)choice :(NSInteger)chips;
- (NSString*) joinGame: (Game*)g;
- (void) submitGuess: (NSInteger)numGuess;
- (void) printChips;

@end
